/*public class Test {
    public static void main(String[]args){
        System.out.println("hellow wprld");
        System.out.println(100);
        System.out.println(3.14);
        System.out.println('A');
        System.out.println(true);
        System.out.println(false);
    }
}*/
/*public class Test{
   public static void main(String[]args){
        byte a = 10;
        byte b = 20;
        byte c = (byte)(a+b);
        System.out.println(c);
    }
    /*public static void main(String[]args){
        String s1 ="hello";
        String s2 = "world";
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s1+s2);*/




        /*int a = 100;
        long b = 200;
        b = a;//a和b都是整型，a时小范围，b是大范围，将a值赋给b是小范围会自动提升为大范围及将int类型提升为long类型，然后赋值
       // a = b;//此时大范围赋值给小范围时，会存在数据丢失，编译器会报错*/



        /*int c = 100;
        long d = 200L;
        c = (int)d;//此时大范围赋值给小范围就需要在大范围前面加上小范围的类型




    }*/

/*public class Test{
    public static void main(String[]args)
    {
        int a = 1;
        a++;
        System.out.println(a++);
        System.out.println(a);
        ++a;
        System.out.println(++a);
        System.out.println(a);
    }
}*/
public class Test{
    public static void main(String[]args){
        int a = 2022;
        if(a%100!=0){
            if(a%4==0){
                System.out.println("是普通闰年");
            }else{
                System.out.println("不是普通润年");
            }
        }else{
            if(a%400==0){
                System.out.println("是世纪闰年");
            }else{
                System.out.println("不是世纪闰年");
            }
        }
    }
    public static void main2(String[]args){
        int h = 10;
        if(h%2==0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数") ;
        }
    }
    public static void main1(String[]args)
    {
        int a = 10;
        int b = 20;
        System.out.println(a<b);
    }
}